<?php

/**
 * Preinscripto form.
 *
 * @package    sistema_itec_new
 * @subpackage form
 * @author     Your name here
 * @version    SVN: $Id: sfDoctrineFormTemplate.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $
 */
class PreinscriptoForm extends BasePreinscriptoForm
{
  public function configure()
  {
      
      $this->widgetSchema['localidad_id'] = new sfWidgetFormDoctrineJQueryAutocompleter(array(
            'url' => sfContext::getInstance()->getController()->genUrl('ajax/localidad'),
            'model' => 'Localidad',
            'value_callback' => 'findOneById'
        ));
      
  }
}
